package com.example.dynamicschedule.dao;

import com.example.dynamicschedule.bean.CkCreditLog;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Repository
public interface CkCreditLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditLog record);

    int insertSelective(CkCreditLog record);

    CkCreditLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditLog record);

    int updateByPrimaryKey(CkCreditLog record);


    void insertForEach(List<CkCreditLog> ckCreditLogs);

    List<CkCreditLog> selectByNowDayAndCollectionTypeAndState(int collectionType);

    int selectByThreeDaysStopPerson(String serialNumber);

    void updateForEach(List<CkCreditLog> ckCreditLogs);
}